public class Book
{
   protected int pages = 1000;
   
   public Book()
   {
      pages = 200;
   }
   
   public void pageMessage()
   {
      System.out.println("Number of pages: " + this.pages);
   }
}